package com.example.demo.controller;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liyang
 * @version 1.0
 * @Title: TestController
 * @description TODO
 * @date 2021/5/14 11:45
 */

@RestController
public class TestController {
    @Value("${pwd}")
    private String pwd;
    @GetMapping("")
    public String test() {

        return "hello world!  pwd:"+pwd;
    }
}